<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <script src="/js/resize.js"></script>
    <% include baiduTJ.html %>
    <link rel="stylesheet" href="/css/myreset.min.css">
    <link rel="stylesheet" href="/toplist/css/toplist.css">
    <title><%= title %></title>
</head>
<body>
<div class="outer">
    <div class="container <%= 'p-' + id %>" id="container">
        <div class="word"></div>
        <div class="buycart"></div>
        <div class="user-list">
            <div id="wrapper">
                <div id="scroller">

                    <% for(var i = 0; i < arr.length; i++){ %>
                    <div class="word"><span><%= arr[i].word %></span></div>
                    <% for(var j = 0; j < arr[i].list.length; j++){ %>
                    <div class="item">
                        <div class="header" style="background-image: url('<%= arr[i].list[j].headimgurl %>')"></div>
                        <div class="name">
                            <span><%= arr[i].list[j].nickname %></span>
                        </div>
                    </div>
                    <% } %>
                    <% } %>
                    <div class="block"></div>
                </div>
            </div>
        </div>
    </div>
</div>

<script src="/js/zepto.1.1.6.min.js"></script>
<script src="/js/base.2.0.js"></script>
<script src="/js/iscroll.js"></script>
<script src="/js/jweixin-1.0.0.js"></script>
<script src="/js/weixin.js"></script>
<% include wxshare.html %>
<script>
    $(function () {
        var dh = $(window).height();
        var ch = $("#container").height();
        if (ch > dh) {
            var ro = dh / ch;
            $(".outer").css({
                "font-size": ro + "rem"
            });
        }


    })
</script>

<script>
    $(function () {
        var myScroll = new IScroll('#wrapper', {

            scrollbars: "custom",
            interactiveScrollbars: true,
            resizeScrollbars: false
        });
    })
</script>
</body>
</html>